//
//  HCalendarData.swift
//  Drop
//
//  Created by hushaohua on 2018/6/30.
//  Copyright © 2018年 init. All rights reserved.
//

import Foundation

class HCalendarDateItem : Equatable{
    static func == (lhs: HCalendarDateItem, rhs: HCalendarDateItem) -> Bool {
        return lhs.title == rhs.title && ((rhs.date == nil && lhs.date == nil) || (rhs.date != nil && lhs.date != nil && rhs.date!.int64Value() == rhs.date!.int64Value()));
    }
    
    var title:String = "";
    var date:DateComponents?;
}

class HCalendarWeekItem{
    var dates:[HCalendarDateItem]?;
}
